package com.tca.spring.framework.learning.aop.service;

import com.tca.spring.framework.learning.aop.annotation.LogRecord;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author zhoua
 * @Date 2021/5/3
 */
@Service
@Slf4j
public class LogService {

	@LogRecord
    public void log(String name, String word) {
        log.info("hello, {}, {}", name, word);
    }
}
